Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Fix Windows upgrade process to uninstall existing CLI before installation#244

Merged
jhaynie merged 2 commits intomainfrom
devin/1745954369-fix-windows-upgrade-script
Apr 29, 2025
Merged

Fix Windows upgrade process to uninstall existing CLI before installation#244
jhaynie merged 2 commits intomainfrom
devin/1745954369-fix-windows-upgrade-script

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

Fix Windows upgrade process to uninstall existing CLI before installation

Description

This PR fixes the Windows upgrade process to properly handle uninstalling existing versions before installing new ones. This addresses the issue where users receive error 1638 ("Another version of this product is already installed") when trying to upgrade the CLI on Windows, particularly on Windows ARM64.

Changes

  • Added PowerShell script generation to detect and uninstall existing Agentuity CLI installations
  • Modified the installation workflow to try direct install first, then update, then reinstall approaches
  • Improved error handling and messaging for upgrade process

Testing

This change requires testing on a Windows machine to verify:

  1. Upgrading from an existing installation should now work without error 1638
  2. The fix should work for all Windows architectures (x86, x64, arm64)

Link to Devin run: https://app.devin.ai/sessions/7fb246e78ae543f3a88c8450f88ee91e
Requested by: jhaynie@agentuity.com

…tion

Co-Authored-By: jhaynie@agentuity.com <jhaynie@gmail.com>
@devin-ai-integration devin-ai-integration Bot requested a review from jhaynie April 29, 2025 19:23
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Co-Authored-By: jhaynie@agentuity.com <jhaynie@gmail.com>
@jhaynie jhaynie merged commit 60e394f into main Apr 29, 2025
12 checks passed
@jhaynie jhaynie deleted the devin/1745954369-fix-windows-upgrade-script branch April 29, 2025 20:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant